﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="EditAtl.aspx.cs" Inherits="Cn.Cellula.Website.Admin.Product.Atl.EditAtl" Title="编辑模板属性" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="Stylesheet" href="/Cellula_Client/controls/JskitControls.css" />
    <script type="text/javascript" src="/jskit.org/model/controls/JskitRichDropDownList.js"></script>
    <script type="text/javascript">
    var jrddlCategory = new JskitRichDropDownList("jrddlCategory");
    jrddlCategory.setEmptySelectText("所有分类");
    function PageOnLoad(){
        jrddlCategory.deployTree(fixId("txt_CategoryName"),fixId("hid_CategoryKey"),"Ws/_Category.aspx?ok=&rk=&t=category_product");
    }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CPH_PageTitle" runat="server">
编辑属性
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="CPH_MainBody" runat="server">
    <div class="action_bar">
        <asp:Button ID="btn_save" runat="server" Text="保存" OnClick="btn_save_Click"/>
        <input type="reset" value="重置" />
        <input type="button" onclick="jskitBulter.redirect('Admin/Product/List.aspx?cid=<%=Request.QueryString["cid"] %>')" value="取消" />
    </div>
    <fieldset>
        <legend>属性信息</legend>
        <table border="0" cellpadding="0" cellspacing="0" class="edit_form">
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">分类：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_CategoryName"></asp:TextBox>
                    <asp:HiddenField runat="server" ID="hid_CategoryKey" />
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">名称：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_AtlName"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    <span class="required">类型：</span>
                </td>
                <td class="edit_form_item_content">
                    <asp:DropDownList runat="server" id="ddl_FieldType"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    排序值：
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_OrderNumber" Text="0"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    缺省值：
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_DefaultVaue"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    用于查询：
                </td>
                <td class="edit_form_item_content">
                    <asp:RadioButtonList runat="server" ID="ral_Queriable" RepeatDirection="Horizontal">
                        <asp:ListItem Value="1" Text="是"></asp:ListItem>
                        <asp:ListItem Value="0" Text="否" Selected="True"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <td class="edit_form_item_title">
                    描述：
                </td>
                <td class="edit_form_item_content">
                    <asp:TextBox runat="server" ID="txt_AltDesc" Width="300px" Height="50px" TextMode="MultiLine"></asp:TextBox>
                </td>
            </tr>
        </table>
    </fieldset>
</asp:Content>
